package com.jp.refreshlocalcachedemo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: jipeng
 * @Description:
 * @Date: Created in 2020/5/19 14:17
 */
@Service
public class ServiceA {

    @Autowired
    private ServiceB b;

    public void toB1(){
        b.test1();
    }


    public void toB2(){
        b.test2("测试");
    }
}
